package com.vm.osm.business.service.impl;

import com.vm.osm.business.dao.OsmOrderFlowMapper;
import com.vm.osm.business.entity.OsmOrderFlow;
import com.vm.osm.business.service.IOsmOrderFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by chenzui on 2018/3/14.
 */
@Service
public class OsmOrderFlowServiceImpl implements IOsmOrderFlowService {
    @Autowired
    private OsmOrderFlowMapper osmOrderFlowMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return osmOrderFlowMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(OsmOrderFlow record) {
        return 0;
    }

    @Override
    public int insertSelective(OsmOrderFlow record) {
        return osmOrderFlowMapper.insertSelective(record);
    }

    @Override
    public OsmOrderFlow selectByPrimaryKey(String id) {
        return osmOrderFlowMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(OsmOrderFlow record) {
        return osmOrderFlowMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(OsmOrderFlow record) {
        return osmOrderFlowMapper.updateByPrimaryKey(record);
    }
}
